package com.nuyoah.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 记录学生的竞赛报名详情
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CompetitionRegistration implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 报名记录ID，自增长
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学生ID，与Student表关联
     */
    private Integer studentId;

    /**
     * 竞赛名称
     */
    private String competitionName;

    /**
     * 报名日期
     */
    private LocalDateTime registrationDate;

    /**
     * 报名状态：已报名、缴费确认、取消报名
     */
    private String status;


}
